//
//  LRHomeTimeline.swift
//  WeiboX
//
//  Created by admin on 04/12/2016.
//  Copyright © 2016 iOS_Objective-C. All rights reserved.
//

import UIKit

class LRStatus: NSObject {
	
	// 发微时间
	var created_at: Date?
	// 微博 id
	var id: Int64 = 0
	// 内容
	var text: String?
	// 来源
	var source: String?
	// 用户模型
	var user: LRUser?
	
	// 转发数
	var reposts_count: Int = 0
	// 评论数
	var comments_count: Int = 0
	// 点赞数
	var attitudes_count: Int = 0
	
	var retweeted_status: LRStatus?
	
	var pic_urls: [LRStatusPicInfo]?
	
//	+ (NSDictionary *)modelContainerPropertyGenericClass {
//	// value should be Class or Class name.
//	return @{@"shadows" : [Shadow class],
//	@"borders" : Border.class,
//	@"attachments" : @"Attachment" };
//	}
	
	class func modelContainerPropertyGenericClass() -> [String: Any] {
		return ["pic_urls": LRStatusPicInfo.self]
	}
	
	// kvc 构造函数
//	init(dic: [String: Any]) {
//		super.init()
//		setValuesForKeys(dic)
//	}
//	
//	override func setValue(_ value: Any?, forUndefinedKey key: String) {
//		
//	}
}
